package com.framework.service;

import com.baomidou.mybatisplus.service.IService;
import com.framework.entity.or.OrBanner;
import com.framework.entity.or.OrLession;
import com.framework.page.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * 课程业务接口
 */
public interface OrLessionService extends IService<OrLession> {
    /**
     * 获取百易课堂头图
     * @param token
     * @return
     */
    OrBanner getLessonHeader(String token);

    /**
     * 获取课程列表
     * @return
     * @param token
     * @param type
     */
    List<OrBanner> queryLessonList(String token, Integer type);

}
